import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { WxUserService } from './wxuser.service';
import { WxUserController } from './wxuser.controller';
import { WxUser } from './entities/wxuser.entity';
import { DoctorModule } from '../doctor/doctor.module'; // 导入 DoctorModule
@Module({
  imports: [
    TypeOrmModule.forFeature([WxUser]),
    DoctorModule, // 导入包含 DoctorRepository 的模块
  ],
  controllers: [WxUserController],
  providers: [WxUserService],
  exports: [WxUserService],
})
export class WxUserModule {}
